package com.lzh.shijicloudstack.model.dto.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录Dto
 *
 * @author luzhiheng
 * @date 2025-04-04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdatePwdDto {

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value = "确认密码")
    private String confirmPassword;
}
